<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>彩妆热卖</title>
    <style>
        body{
            font-size: 14px;
            color: gray;
        }

        .top {
            padding: 15px;
            width: 300px;
            background-color: rgb(233, 24, 90);
        }

        li {
            list-style: none;
            margin: 5px 0;
            border-bottom-style: dashed;
            border-bottom-width: 1px;
            border-bottom-color: gray;
            padding: 5px;
            width: 320px;
        }

        ul {
            width: 300px;
            padding: 0;
            margin-top: 0;
        }

        .li_number {
            display: inline-block;
            padding: 5px 10px;
            border-radius: 50%;
            background-color: black;
            color: white;
        }

        .li_img {
            display: flex;
            flex-direction: column;
            margin: 0 auto;
            text-align: center;
            display: none;
        }

        li:hover .li_img {
            display: block;
            color: rgb(233, 24, 90);
        }

        li:hover .li_number {
            background-color: rgb(233, 24, 90);
        }

        li:hover .li_text {
            color: rgb(233, 24, 90);
        }
    </style>
</head>

<body>
    <div>
        <div class="top" style="font-weight: bold; color: white; font-size: 20px;">
            大家都喜欢的彩妆
        </div>
        <ul>
            <li>
                <div class="li_number">1</div>  <span class="li_text">Za姬芮新能真皙美白隔离霜 35g</span> 
                <div class="li_img">
                    <img src="img/icon-1.jpg" alt="" width="200px" style="display: block; margin: 0 auto;">
                    <span>￥62.00 最近69122人购买</span>
                </div>
            </li>

            <li>
                <div class="li_number">2</div> <span class="li_text">美宝莲精纯矿物奇妙新颜乳霜BB霜 30ml</span> 
                <div class="li_img">
                    <img src="img/icon-2.jpg" alt="" width="200px" style="display: block; margin: 0 auto;">
                    <span>￥89.00 最近13610人购买</span>
                </div>
            </li>
            <li>
                <div class="li_number">3</div> <span class="li_text">菲奥娜水漾CC霜40g </span>
                <div class="li_img">
                    <img src="img/icon-3.jpg" alt="" width="200px" style="display: block; margin: 0 auto;">
                    <span>￥59.90 最近13403人购买</span>
                </div>
            </li>

            <li>
                <div class="li_number">4</div> <span class="li_text">DHC 蝶翠诗橄榄卸妆油 200ml </span>
                <div class="li_img">
                    <img src="img/icon-4.jpg" alt="" width="200px" style="display: block; margin: 0 auto;">
                    <span>￥169.00 最近16757人购买</span>
                </div>
            </li>
        </ul>
    </div>
</body>

</html>